package fr.machizaud.research;

/**
 * User: Andréa
 * Date: 23/01/11
 * Time: 16:46
 */
public class MalformedDocumentException
        extends Exception {

    private static final java.util.logging.Logger logger = java.util.logging.Logger.getLogger(MalformedDocumentException.class.getCanonicalName());

    private Class thrower;

    public MalformedDocumentException(String msg, Class problemSource) {
        super(msg);
        thrower = problemSource;
    }

    public MalformedDocumentException(String msg, Class problemSource, Throwable cause) {
        super(msg, cause);
        thrower = problemSource;
    }

    public Class getThrower() {
        return thrower;
    }

}
